package w14;

import java.io.File;

public class DemoDot {
	public static void main(String[] args) {
		File f = new File(".");
		System.out.println(f.getAbsolutePath());
		String[] fs = f.list();
		for (String s : fs) {
			System.out.println(s);
		}
		
		System.out.println();
		File ff = new File("..");
		System.out.println(ff.getAbsolutePath());
		fs = ff.list();
		for (String s : fs) {
			System.out.println(s);
		}
	}

}
